<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>进校</title>
	<style>
		#content {
			font-size: 35px;
			text-align: center;
		}
		#content2 {
			font-size: 15px;
			text-align: center;
		}
		#data {
			font-size: 35px;
			text-align: center;
			color: red;
		}
		#time {
			font-size: 35px;
			text-align: center;
			color: red;
		}
		#photo{
			width: 150px;
			height: 150px;
			align-content: center;
		}
		#photo2{
			width: 100px;
			height: 100px;
			align-content: center;
		}

	</style>
<script type="text/javascript">

	function getName()
	{
		var url=location.pathname;
		var name=url.substr(a.lastIndexOf('?')+6);

		var div = document.getElementById('content');
		div.innerHTML="校："+name+"-201935030215，白名单验证通过";
	}

	function showDate()
	{
		var today=new Date();

		var hour=today.getHours();
		var min=today.getMinutes();
		var sec=today.getSeconds();
		var ms=today.getMilliseconds();

		var currentTime = document.getElementById('time');
		currentTime.innerHTML=hour+":"+min+":"+sec+"."+ms;
	}
</script>
	

</head>
<body>
	<div id="content">
	<p id="content">进校</p>
	</div>
	<div align="center">
		<img id="photo" src="./gky.jpg" >
		<p id="content2">陈金颖-201935010103</p>
	<hr/>
	</div>
	<div id="content">
	<p id="content">学生:白名单验证通过,该申请离校扫码1次,离校码只能使用1次，请不要重复打开</p>
	<font id="time">18:44:58.136</font>
	<script type="text/javascript">
		setInterval(showDate,50);
	</script>
	</div>
	<div align="center">
		<img id="photo2" src="./1.jpg" >
	</div>

</body>


